<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class BaseData extends BaseModel
{
    public $guarded = [];

    public function getTypeText(){
        if($this->cate_id == 1){
            return '客户类型';
        }elseif($this->cate_id == 2){
            return '服务类型';
        }
    }
}
